<template>
  <div>
    <div>
      <h4>请选择合适的选项</h4>
      <el-row>
        <el-col>
          <span>1.抑郁情绪：（1）只在问到时才诉述；（2）在访谈中自发地表达；（3）不用言语也可以从表情、姿势、声音或欲哭中流露出这种情绪；（4）病人的自发言语和非语言表达（表情，动作）几乎完全表现为这种情绪。</span>
          <div class="grid-content">
            <el-radio-group v-model="pgForm.list.hmdyy_w1">
              <el-radio :label="0">（0）无</el-radio>
              <el-radio :label="1">（1）轻度</el-radio>
              <el-radio :label="2">（2）中度</el-radio>
              <el-radio :label="3">（3）重度</el-radio>
              <el-radio :label="4">（4）极重度</el-radio>
              <el-input
                placeholder="备注"
                v-model="pgForm.hmdyy_input1"
                style="margin: 0 0 10px 20px;width: 500px">
              </el-input>
            </el-radio-group>
          </div>
        </el-col>
      </el-row>
      <el-row>
        <el-col>
          <span>2.有罪感：（1）责备自己，感到自己已连累他人；（2）认为自己犯了罪，或反复思考以往的过失和错误；（3）认为目前的疾病，是对自己错误的惩罚，或有罪恶妄想；（4）罪恶妄想伴有指责或威胁性幻觉。</span>
          <div class="grid-content">
            <el-radio-group v-model="pgForm.list.hmdyy_w2">
              <el-radio :label="0">（0）无</el-radio>
              <el-radio :label="1">（1）轻度</el-radio>
              <el-radio :label="2">（2）中度</el-radio>
              <el-radio :label="3">（3）重度</el-radio>
              <el-radio :label="4">（4）极重度</el-radio>
              <el-input
                placeholder="备注"
                v-model="pgForm.hmdyy_input2"
                style="margin: 0 0 10px 20px;width: 500px">
              </el-input>
            </el-radio-group>
          </div>
        </el-col>
      </el-row>
      <el-row>
        <el-col>
          <span>3.自杀：（1）觉得活着没有意义；（2）希望自己已经死去，或常想到与死有关的事；（3）消极观念（自杀念头）；（4）有严重自杀行为。</span>
          <div class="grid-content">
            <el-radio-group v-model="pgForm.list.hmdyy_w3">
              <el-radio :label="0">（0）无</el-radio>
              <el-radio :label="1">（1）轻度</el-radio>
              <el-radio :label="2">（2）中度</el-radio>
              <el-radio :label="3">（3）重度</el-radio>
              <el-radio :label="4">（4）极重度</el-radio>
              <el-input
                placeholder="备注"
                v-model="pgForm.hmdyy_input3"
                style="margin: 0 0 10px 20px;width: 500px">
              </el-input>
            </el-radio-group>
          </div>
        </el-col>
      </el-row>
      <el-row>
        <el-col>
          <span>4.入睡困难（初段失眠）：（1）主诉有入睡困难，上床半小时后仍不能入睡。（要注意平时病人入睡的时间）；（2）主诉每晚均有入睡困难。</span>
          <div class="grid-content">
            <el-radio-group v-model="pgForm.list.hmdyy_w4">
              <el-radio :label="0">（0）无</el-radio>
              <el-radio :label="1">（1）轻度</el-radio>
              <el-radio :label="2">（2）中度</el-radio>
              <el-radio :label="3">（3）重度</el-radio>
              <el-radio :label="4">（4）极重度</el-radio>
              <el-input
                placeholder="备注"
                v-model="pgForm.hmdyy_input4"
                style="margin: 0 0 10px 20px;width: 500px">
              </el-input>
            </el-radio-group>
          </div>
        </el-col>
      </el-row>
      <el-row>
        <el-col>
          <span>5.睡眠不深（中段失眠）：（1）睡眠浅，多恶梦；（2）半夜（晚12点钟以前）曾醒来（不包括上厕所）。</span>
          <div class="grid-content">
            <el-radio-group v-model="pgForm.list.hmdyy_w5">
              <el-radio :label="0">（0）无</el-radio>
              <el-radio :label="1">（1）轻度</el-radio>
              <el-radio :label="2">（2）中度</el-radio>
              <el-radio :label="3">（3）重度</el-radio>
              <el-radio :label="4">（4）极重度</el-radio>
              <el-input
                placeholder="备注"
                v-model="pgForm.hmdyy_input5"
                style="margin: 0 0 10px 20px;width: 500px">
              </el-input>
            </el-radio-group>
          </div>
        </el-col>
      </el-row>
      <el-row>
        <el-col>
          <span>6.早醒（末段失眠）：（1）有早醒，比平时早醒1小时，但能重新入睡（应排除平时的习惯）；（2）早醒后无法重新入睡。</span>
          <div class="grid-content">
            <el-radio-group v-model="pgForm.list.hmdyy_w6">
              <el-radio :label="0">（0）无</el-radio>
              <el-radio :label="1">（1）轻度</el-radio>
              <el-radio :label="2">（2）中度</el-radio>
              <el-radio :label="3">（3）重度</el-radio>
              <el-radio :label="4">（4）极重度</el-radio>
              <el-input
                placeholder="备注"
                v-model="pgForm.hmdyy_input6"
                style="margin: 0 0 10px 20px;width: 500px">
              </el-input>
            </el-radio-group>
          </div>
        </el-col>
      </el-row>
      <el-row>
        <el-col>
          <span>7.工作和兴趣：（1）提问时才诉述；（2）自发地直接或间接表达对活动、工作或学习失去兴趣，如感到没精打彩，犹豫不决，不能坚持或需强迫自己去工作或活动；（3）活动时间减少或成效下降，住院病人每天参加病房劳动或娱乐不满3小时；（4）因目前的疾病而停止工作，住院者不参加任何活动或者没有他人帮助便不能完成病室日常事务（注意不能凡住院就打4分）。</span>
          <div class="grid-content">
            <el-radio-group v-model="pgForm.list.hmdyy_w7">
              <el-radio :label="0">（0）无</el-radio>
              <el-radio :label="1">（1）轻度</el-radio>
              <el-radio :label="2">（2）中度</el-radio>
              <el-radio :label="3">（3）重度</el-radio>
              <el-radio :label="4">（4）极重度</el-radio>
              <el-input
                placeholder="备注"
                v-model="pgForm.hmdyy_input7"
                style="margin: 0 0 10px 20px;width: 500px">
              </el-input>
            </el-radio-group>
          </div>
        </el-col>
      </el-row>
      <el-row>
        <el-col>
          <span>8.阻滞（指思维和言语缓慢，注意力难以集中，主动性减退）：（1）精神检查中发现轻度阻滞；（2）精神检查中发现明显阻滞；（3）精神检查进行困难；（4）完全不能回答问题（木僵）。</span>
          <div class="grid-content">
            <el-radio-group v-model="pgForm.list.hmdyy_w8">
              <el-radio :label="0">（0）无</el-radio>
              <el-radio :label="1">（1）轻度</el-radio>
              <el-radio :label="2">（2）中度</el-radio>
              <el-radio :label="3">（3）重度</el-radio>
              <el-radio :label="4">（4）极重度</el-radio>
              <el-input
                placeholder="备注"
                v-model="pgForm.hmdyy_input8"
                style="margin: 0 0 10px 20px;width: 500px">
              </el-input>
            </el-radio-group>
          </div>
        </el-col>
      </el-row>
      <el-row>
        <el-col>
          <span>9.激越：（1）检查时有些心神不定；（2）明显心神不定或小动作多；（3）不能静坐，检查中曾起立；（4）搓手、咬手指、扯头发、咬嘴唇。</span>
          <div class="grid-content">
            <el-radio-group v-model="pgForm.list.hmdyy_w9">
              <el-radio :label="0">（0）无</el-radio>
              <el-radio :label="1">（1）轻度</el-radio>
              <el-radio :label="2">（2）中度</el-radio>
              <el-radio :label="3">（3）重度</el-radio>
              <el-radio :label="4">（4）极重度</el-radio>
              <el-input
                placeholder="备注"
                v-model="pgForm.hmdyy_input9"
                style="margin: 0 0 10px 20px;width: 500px">
              </el-input>
            </el-radio-group>
          </div>
        </el-col>
      </el-row>
      <el-row>
        <el-col>
          <span>10.精神性焦虑：（1）问及时诉述；（2）自发地表达；（3）表情和言谈流露出明显忧虑；（4）明显惊恐。</span>
          <div class="grid-content">
            <el-radio-group v-model="pgForm.list.hmdyy_w10">
              <el-radio :label="0">（0）无</el-radio>
              <el-radio :label="1">（1）轻度</el-radio>
              <el-radio :label="2">（2）中度</el-radio>
              <el-radio :label="3">（3）重度</el-radio>
              <el-radio :label="4">（4）极重度</el-radio>
              <el-input
                placeholder="备注"
                v-model="pgForm.hmdyy_input10"
                style="margin: 0 0 10px 20px;width: 500px">
              </el-input>
            </el-radio-group>
          </div>
        </el-col>
      </el-row>
      <el-row>
        <el-col>
          <span>11.躯体性焦虑（指焦虑的生理症状，包括：口干、腹胀、腹泻、打呃、腹绞痛、心悸、头痛、过度换气和叹气，以及尿频和出汗）：（1）轻度；（2）中度，有肯定的上述症状；（3）重度，上述症状严重，影响生活或需要处理；（4）严重影响生活和活动。</span>
          <div class="grid-content">
            <el-radio-group v-model="pgForm.list.hmdyy_w11">
              <el-radio :label="0">（0）无</el-radio>
              <el-radio :label="1">（1）轻度</el-radio>
              <el-radio :label="2">（2）中度</el-radio>
              <el-radio :label="3">（3）重度</el-radio>
              <el-radio :label="4">（4）极重度</el-radio>
              <el-input
                placeholder="备注"
                v-model="pgForm.hmdyy_input11"
                style="margin: 0 0 10px 20px;width: 500px">
              </el-input>
            </el-radio-group>
          </div>
        </el-col>
      </el-row>
      <el-row>
        <el-col>
          <span>12.胃肠道症状：（1）食欲减退，但不需他人鼓励便自行进食；</span>
          <div class="grid-content">
            <el-radio-group v-model="pgForm.list.hmdyy_w12">
              <el-radio :label="0">（0）无</el-radio>
              <el-radio :label="1">（1）轻度</el-radio>
              <el-radio :label="2">（2）中度</el-radio>
              <el-radio :label="3">（3）重度</el-radio>
              <el-radio :label="4">（4）极重度</el-radio>
              <el-input
                placeholder="备注"
                v-model="pgForm.hmdyy_input12"
                style="margin: 0 0 10px 20px;width: 500px">
              </el-input>
            </el-radio-group>
          </div>
        </el-col>
      </el-row>
      <el-row>
        <el-col>
          <span>13.全身症状：（1）四肢，背部或颈部沉重感，背痛、头痛、肌肉疼痛，全身乏力或疲倦；（2）症状明显。</span>
          <div class="grid-content">
            <el-radio-group v-model="pgForm.list.hmdyy_w13">
              <el-radio :label="0">（0）无</el-radio>
              <el-radio :label="1">（1）轻度</el-radio>
              <el-radio :label="2">（2）中度</el-radio>
              <el-radio :label="3">（3）重度</el-radio>
              <el-radio :label="4">（4）极重度</el-radio>
              <el-input
                placeholder="备注"
                v-model="pgForm.hmdyy_input13"
                style="margin: 0 0 10px 20px;width: 500px">
              </el-input>
            </el-radio-group>
          </div>
        </el-col>
      </el-row>
      <el-row>
        <el-col>
          <span>14.性症状（指性欲减退，月经紊乱等）：（1）轻度；（2）重度；（3）不能肯定，或该项对被评者不适合（不计入总分）。</span>
          <div class="grid-content">
            <el-radio-group v-model="pgForm.list.hmdyy_w14">
              <el-radio :label="0">（0）无</el-radio>
              <el-radio :label="1">（1）轻度</el-radio>
              <el-radio :label="2">（2）中度</el-radio>
              <el-radio :label="3">（3）重度</el-radio>
              <el-radio :label="4">（4）极重度</el-radio>
              <el-input
                placeholder="备注"
                v-model="pgForm.hmdyy_input14"
                style="margin: 0 0 10px 20px;width: 500px">
              </el-input>
            </el-radio-group>
          </div>
        </el-col>
      </el-row>
      <el-row>
        <el-col>
          <span>15.疑病：（1）对身体过分关注；（2）反复考虑健康问题；（3）有疑病妄想；（4）伴幻觉的疑病妄想。</span>
          <div class="grid-content">
            <el-radio-group v-model="pgForm.list.hmdyy_w15">
              <el-radio :label="0">（0）无</el-radio>
              <el-radio :label="1">（1）轻度</el-radio>
              <el-radio :label="2">（2）中度</el-radio>
              <el-radio :label="3">（3）重度</el-radio>
              <el-radio :label="4">（4）极重度</el-radio>
              <el-input
                placeholder="备注"
                v-model="pgForm.hmdyy_input15"
                style="margin: 0 0 10px 20px;width: 500px">
              </el-input>
            </el-radio-group>
          </div>
        </el-col>
      </el-row>
      <el-row>
        <el-col>
          <span>16.体重减轻：按病史评定：（1）患者诉述可能有体重减轻；（2）肯定体重减轻。按体重记录评定：（3）一周内体重减轻超过0.5公斤；（4）一周内体重减轻超过1公斤。</span>
          <div class="grid-content">
            <el-radio-group v-model="pgForm.list.hmdyy_w16">
              <el-radio :label="0">（0）无</el-radio>
              <el-radio :label="1">（1）轻度</el-radio>
              <el-radio :label="2">（2）中度</el-radio>
              <el-radio :label="3">（3）重度</el-radio>
              <el-radio :label="4">（4）极重度</el-radio>
              <el-input
                placeholder="备注"
                v-model="pgForm.hmdyy_input16"
                style="margin: 0 0 10px 20px;width: 500px">
              </el-input>
            </el-radio-group>
          </div>
        </el-col>
      </el-row>
      <el-row>
        <el-col>
          <span>17.自知力：（1）知道自己有病，表现为抑郁；（2）知道自己有病，但归咎伙食太差，环境问题，工作过忙，病毒感染或需要休息；（3）完全否认有病。</span>
          <div class="grid-content">
            <el-radio-group v-model="pgForm.list.hmdyy_w17">
              <el-radio :label="0">（0）无</el-radio>
              <el-radio :label="1">（1）轻度</el-radio>
              <el-radio :label="2">（2）中度</el-radio>
              <el-radio :label="3">（3）重度</el-radio>
              <el-radio :label="4">（4）极重度</el-radio>
              <el-input
                placeholder="备注"
                v-model="pgForm.hmdyy_input17"
                style="margin: 0 0 10px 20px;width: 500px">
              </el-input>
            </el-radio-group>
          </div>
        </el-col>
      </el-row>
      <el-row>
        <el-col>
          <span>18．情绪日夜变化（如果症状在早晨或傍晚加重，先指出是哪一种，然后按其变化程度评分）（早上变化评早上，晚上变化评晚上）：（1）轻度变化：晨 1、晚1；（2）重度变化：晨 2、晚 2。</span>
          <div class="grid-content">
            <el-radio-group v-model="pgForm.list.hmdyy_w18">
              <el-radio :label="0">（0）无</el-radio>
              <el-radio :label="1">（1）轻度</el-radio>
              <el-radio :label="2">（2）中度</el-radio>
              <el-radio :label="3">（3）重度</el-radio>
              <el-radio :label="4">（4）极重度</el-radio>
              <el-input
                placeholder="备注"
                v-model="pgForm.hmdyy_input18"
                style="margin: 0 0 10px 20px;width: 500px">
              </el-input>
            </el-radio-group>
          </div>
        </el-col>
      </el-row>
      <el-row>
        <el-col>
          <span>19.人格解体或现实解体（指非真实感或虚无妄想）：（1）问及时才诉述；（2）自然诉述；（3）有虚无妄想；（4）伴幻觉的虚无妄想。</span>
          <div class="grid-content">
            <el-radio-group v-model="pgForm.list.hmdyy_w19">
              <el-radio :label="0">（0）无</el-radio>
              <el-radio :label="1">（1）轻度</el-radio>
              <el-radio :label="2">（2）中度</el-radio>
              <el-radio :label="3">（3）重度</el-radio>
              <el-radio :label="4">（4）极重度</el-radio>
              <el-input
                placeholder="备注"
                v-model="pgForm.hmdyy_input19"
                style="margin: 0 0 10px 20px;width: 500px">
              </el-input>
            </el-radio-group>
          </div>
        </el-col>
      </el-row>
      <el-row>
        <el-col>
          <span>20.偏执症状：（1）有猜疑；（2）有牵连观念；（3）有关系妄想或被害妄想；（4）伴有幻觉的关系妄想或被害妄想。</span>
          <div class="grid-content">
            <el-radio-group v-model="pgForm.list.hmdyy_w20">
              <el-radio :label="0">（0）无</el-radio>
              <el-radio :label="1">（1）轻度</el-radio>
              <el-radio :label="2">（2）中度</el-radio>
              <el-radio :label="3">（3）重度</el-radio>
              <el-radio :label="4">（4）极重度</el-radio>
              <el-input
                placeholder="备注"
                v-model="pgForm.hmdyy_input20"
                style="margin: 0 0 10px 20px;width: 500px">
              </el-input>
            </el-radio-group>
          </div>
        </el-col>
      </el-row>
      <el-row>
        <el-col>
          <span>21.强迫症状（指强迫思维和强迫行为）：（1）问及时才诉述；（2）自发诉述。</span>
          <div class="grid-content">
            <el-radio-group v-model="pgForm.list.hmdyy_w21">
              <el-radio :label="0">（0）无</el-radio>
              <el-radio :label="1">（1）轻度</el-radio>
              <el-radio :label="2">（2）中度</el-radio>
              <el-radio :label="3">（3）重度</el-radio>
              <el-radio :label="4">（4）极重度</el-radio>
              <el-input
                placeholder="备注"
                v-model="pgForm.hmdyy_input21"
                style="margin: 0 0 10px 20px;width: 500px">
              </el-input>
            </el-radio-group>
          </div>
        </el-col>
      </el-row>
      <el-row>
        <el-col>
          <span>22.能力减退感：（1）仅于提问时方引出主观体验；（2）病人主动表示有能力减退感；（3）需鼓励、指导和安慰才能完成病室日常事务或个人卫生；（4）穿衣、梳洗、进食、铺床或个人卫生均需他人协助。</span>
          <div class="grid-content">
            <el-radio-group v-model="pgForm.list.hmdyy_w22">
              <el-radio :label="0">（0）无</el-radio>
              <el-radio :label="1">（1）轻度</el-radio>
              <el-radio :label="2">（2）中度</el-radio>
              <el-radio :label="3">（3）重度</el-radio>
              <el-radio :label="4">（4）极重度</el-radio>
              <el-input
                placeholder="备注"
                v-model="pgForm.hmdyy_input22"
                style="margin: 0 0 10px 20px;width: 500px">
              </el-input>
            </el-radio-group>
          </div>
        </el-col>
      </el-row>
      <el-row>
        <el-col>
          <span>23.绝望感：（1）有时怀疑"情况是否会好转"，但解释后能接受；（2）持续感到"没有希望"，但解释后能接受；（3）对未来感到灰心、悲观和失望，解释后不能解除；（4）自动地反复诉述"我的病好不了啦"诸如此类的情况。</span>
          <div class="grid-content">
            <el-radio-group v-model="pgForm.list.hmdyy_w23">
              <el-radio :label="0">（0）无</el-radio>
              <el-radio :label="1">（1）轻度</el-radio>
              <el-radio :label="2">（2）中度</el-radio>
              <el-radio :label="3">（3）重度</el-radio>
              <el-radio :label="4">（4）极重度</el-radio>
              <el-input
                placeholder="备注"
                v-model="pgForm.hmdyy_input23"
                style="margin: 0 0 10px 20px;width: 500px">
              </el-input>
            </el-radio-group>
          </div>
        </el-col>
      </el-row>
      <el-row>
        <el-col>
          <span>24.自卑感：（1）仅在询问时诉述有自卑感（我不如他人）；（2）自动地诉述有自卑感；（3）病人主动诉述；"我一无是处"或"低人一等"，与评2分者只是程度上的差别；（4）自卑感达妄想的程度，例如"我是废物"或类似情况。</span>
          <div class="grid-content">
            <el-radio-group v-model="pgForm.list.hmdyy_w24">
              <el-radio :label="0">（0）无</el-radio>
              <el-radio :label="1">（1）轻度</el-radio>
              <el-radio :label="2">（2）中度</el-radio>
              <el-radio :label="3">（3）重度</el-radio>
              <el-radio :label="4">（4）极重度</el-radio>
              <el-input
                placeholder="备注"
                v-model="pgForm.hmdyy_input24"
                style="margin: 0 0 10px 20px;width: 500px">
              </el-input>
            </el-radio-group>
          </div>
        </el-col>
      </el-row>

      <el-row>
        <el-col>
          <div>
            <span style="display: inline;">总分 </span>
            <el-input placeholder="" v-model="sum" readonly style="width: 10%;"></el-input>
          </div>
        </el-col>
      </el-row>
    </div>
  </div>
</template>

<script>
export default {
  name: "hamilton_depression_scale",
  title: "汉密顿抑郁量表",
  created() {
    if(this.istrans){
      this.pgForm=this.fromdata
    }
  },
  props: {
    fromdata:{},
    istrans:false,
  },
  data() {
    return {
      pgForm: {
        list:{
          hmdyy_w1:'',
          hmdyy_w2:'',
          hmdyy_w3:'',
          hmdyy_w4:'',
          hmdyy_w5:'',
          hmdyy_w6:'',
          hmdyy_w7:'',
          hmdyy_w8:'',
          hmdyy_w9:'',
          hmdyy_w10:'',
          hmdyy_w11:'',
          hmdyy_w12:'',
          hmdyy_w13:'',
          hmdyy_w14:'',
          hmdyy_w15:'',
          hmdyy_w16:'',
          hmdyy_w17:'',
          hmdyy_w18:'',
          hmdyy_w19:'',
          hmdyy_w20:'',
          hmdyy_w21:'',
          hmdyy_w22:'',
          hmdyy_w23:'',
          hmdyy_w24:'',
        },
        hmdyy_input1:'',
        hmdyy_input2:'',
        hmdyy_input3:'',
        hmdyy_input4:'',
        hmdyy_input5:'',
        hmdyy_input6:'',
        hmdyy_input7:'',
        hmdyy_input8:'',
        hmdyy_input9:'',
        hmdyy_input10:'',
        hmdyy_input11:'',
        hmdyy_input12:'',
        hmdyy_input13:'',
        hmdyy_input14:'',
        hmdyy_input15:'',
        hmdyy_input16:'',
        hmdyy_input17:'',
        hmdyy_input18:'',
        hmdyy_input19:'',
        hmdyy_input20:'',
        hmdyy_input21:'',
        hmdyy_input22:'',
        hmdyy_input23:'',
        hmdyy_input24:'',
        sumScore: 0
      }
    }
  },
  computed:{
    sum(){
      let list=this.pgForm.list
      let a=0
      for(let index in list){
        a+=list[index]*1
      }
      return a
    }
  },
  watch: {
    sum(val) {
      this.pgForm.sumScore = val;
    }
  }
}
</script>

<style scoped>

h4{
  color: #679ced;
}
.grid-content {
  border-radius: 4px;
  min-height: 36px;
  background-color: #FFFFFF;
  margin: 10px 0;
}

span{
  display: block;
}
.el-radio-group {
  padding: 20px 20px;
}
.el-row {
  margin: 10px 0;
  padding: 20px 20px;
  background-color: #f9f9f9;
}
.el-radio {
  display: block;
  margin-bottom: 15px;
}
</style>
